package com.ljxt.dt.service.storemanagementservice.impl;

import com.ljxt.dt.dao.storemanagementdao.EditDao;
import com.ljxt.dt.dao.storemanagementdao.impl.EditDaoImpl;
import com.ljxt.dt.domain.ReceptType;
import com.ljxt.dt.service.storemanagementservice.EditService;
import com.ljxt.dt.web.servlet.storemanagementservlet.Edit;

import java.util.List;

/**
 * @author 唐春劲
 * @version 1.0.0
 * @date 2020-05-12 16:29
 * @copyright 老九学堂
 */

public class EditServiceImpl implements EditService {
    private EditDao admin = new EditDaoImpl();
    @Override
    public boolean isEdit(String id) {
        return admin.isEdit(id);
    }

    @Override
    public List<ReceptType> selectType() {
        return admin.selectType();
    }
}
